import React, { PureComponent } from 'react';
import { connect } from 'dva';


import CustomerList from '../CustomerList';

@connect(({ risk }) => ({
  risk,
}))
export default class CreditEditor extends PureComponent {
  constructor(props) {
    super(props);
    this.state = {};
  }

  render() {
    const { risk, isForFamilyMember } = this.props;
    const { customers } = risk;

    //const { apply: { applyListDetails } } = this.props;

    return <CustomerList hideDocuments={true} projectId={this.props.projectId} />;
  }
}
